package com.welab.springcloud.demo.api.fallback;


import com.welab.springcloud.demo.api.GoodsApi;
import com.welab.springcloud.demo.dto.Goods;
import com.welab.springcloud.demo.dto.ResponseResult;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class GoodsApiFallback implements GoodsApi {

    @Override
    public ResponseResult<Goods> getGoods(String goodsId) {
        return null;
    }

    @Override
    public ResponseResult<List<Goods>> userGoods(Integer userId) {
        return null;
    }

}
